﻿using System.Collections.Generic;
using ADC.Comet.Core;

namespace Sharp.Framework.Comet
{
    /// <summary>
    /// 用户Session
    /// </summary>
    public class UserSession
    {
        /// <summary>
        /// 是否超时
        /// </summary>
        public bool IsTimeOut { get; set; }
        /// <summary>
        /// 上次接收时间
        /// </summary>
        public long From { get; set; }

        /// <summary>
        /// 用户IM状态
        /// </summary>
        public UserStatus Status { get; set; }

        /// <summary>
        /// 请求列表
        /// </summary>
        public List<AsyncRequest> Requests { get; set; }
    }
}